<nz-modal [(nzVisible)]="isVisible" [nzTitle]="title" (nzOnCancel)="handleCancel()"
          (nzOnOk)="handleOk()" nzWidth="650px" [nzOkLoading]="isOkLoading">
  <form nz-form [formGroup]="formModel">

    <nz-form-item>
      <nz-form-label [nzSpan]="6" nzRequired nzFor="jobName">任务名称</nz-form-label>
      <nz-form-control [nzSpan]="16" nzHasFeedback nzErrorTip="请输入任务名称">
        <input nz-input [readOnly]="inputDisabled" name="jobName" type="text" formControlName="jobName" placeholder="请输入任务名称"/>
      </nz-form-control>
    </nz-form-item>


    <nz-form-item>
      <nz-form-label [nzSpan]="6" nzRequired nzFor="jobClassName">任务类名</nz-form-label>
      <nz-form-control [nzSpan]="16" nzHasFeedback nzErrorTip="请输入任务类名">
        <input nz-input [readOnly]="inputDisabled" formControlName="jobClassName" name="jobClassName" type="text" placeholder="请输入任务类名"/>
      </nz-form-control>
    </nz-form-item>


    <nz-form-item>
      <nz-form-label [nzSpan]="6" nzFor="jobGroup" nzRequired>任务分组</nz-form-label>
      <nz-form-control [nzSpan]="16" nzHasFeedback nzErrorTip="请输入任务分组">
        <input nz-input [readOnly]="inputDisabled" formControlName="jobGroup" name="jobGroup" type="text" placeholder="请输入任务分组"/>
      </nz-form-control>
    </nz-form-item>


    <nz-form-item>
      <nz-form-label [nzSpan]="6" nzFor="cronExpression" nzRequired>表 达 式&nbsp;&nbsp;</nz-form-label>
      <nz-form-control [nzSpan]="16" nzHasFeedback nzErrorTip="请输入表达式">
        <input nz-input formControlName="cronExpression" name="cronExpression" type="text" placeholder="请输入表达式"/>
      </nz-form-control>
    </nz-form-item>

  </form>

</nz-modal>
